package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;
import java.util.Map;

public interface MenuService {
    List<Map<String,Object>> findAllMenu();

    PageResult findAllMenByRole(Integer id, QueryPageBean queryPageBean);

    PageResult queryPage(QueryPageBean queryPageBean);

    List<Map<String, Object>> findByUsername(String username);

    List<Integer> findAllMenuByRoleId(Integer roleId);
}
